package com.wyq.gulimall.common.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author wangy
 * @version 1.0
 * @description: TODO
 */
@Data
public class SkuEsModel {
    private Long skuId;
    private Long spuId;
    private String skuTitle;
    private BigDecimal skuPrice;
    private String skuImg;
    /*销售量*/
    private Long saleCount=10L;
    /*是否有库存*/
    private Boolean hasStock=true;
    /*是否热卖*/
    private Long hotScore=0L;
    private Long brandId;
    private Long categoryId;
    private String brandName;
    private String brandImg;
    private String categoryName;
    private List<Attr> attrs;
    @Data
    public static class Attr {
        private Long attrId;
        private String attrName;
        private String attrValue;
    }
}
